package com.ccys.cms.service.masterData;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.masterData.LanguageDelDto;
import com.ccys.db.dto.masterData.LanguagePageDto;
import com.ccys.db.dto.masterData.LanguageSaveDto;
import com.ccys.db.entity.TblLanguage;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.masterData.LanguageListVo;

import java.util.List;

public interface LanguageService extends BaseService<TblLanguage> {
    ResponseResult save(LanguageSaveDto dto);

    ResponseResult deleteLanguageById(LanguageDelDto dto);

    ResponseResult findPage(LanguagePageDto dto);

    ResponseResult updateStatus(LanguageSaveDto dto);

    ResponseResult<List<LanguageListVo>, Object> findList();
}
